package com.qms.repast.entity.resbean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Unique;

/**
 * @author 泅渡者
 * @date 2018/9/19 0019
 * @describe: 菜品类别对象
 */
@Entity
public class CuisineMenuBean {
	/**
	 * 自增Id
	 */
	@Id(autoincrement = true)
	private Long id;
	@NotNull
	@Unique
	private String categoryId;
	private String categoryTitle;

	@Generated(hash = 1091215755)
	public CuisineMenuBean(Long id, @NotNull String categoryId,
									String categoryTitle) {
					this.id = id;
					this.categoryId = categoryId;
					this.categoryTitle = categoryTitle;
	}

	@Generated(hash = 1486280738)
	public CuisineMenuBean () {
	}

	public Long getId () {
		return this.id;
	}

	public void setId (Long id) {
		this.id = id;
	}

	public String getCategoryId () {
		return this.categoryId;
	}

	public void setCategoryId (String categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryTitle () {
		return this.categoryTitle;
	}

	public void setCategoryTitle (String categoryTitle) {
		this.categoryTitle = categoryTitle;
	}

}
